<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: MLB Standings in 2016</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for MLBStandings2016"><tr><td>MLBStandings2016</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>MLB Standings in 2016</h2>

<h3>Description</h3>

<p>Major League Baseball (MLB) standings and team statistics for the 2016 season
</p>


<h3>Format</h3>

<p>A data frame with 30 observations on the following 21 variables.
</p>

<dl>
<dt><code>Team</code></dt><dd><p>Team name</p>
</dd>
<dt><code>League</code></dt><dd><p><code>AL</code>=American or <code>NL</code>=National</p>
</dd>
<dt><code>Wins</code></dt><dd><p>Number of wins for the season (out of 162 games)</p>
</dd>
<dt><code>Losses</code></dt><dd><p>Number of losses for the season</p>
</dd>
<dt><code>WinPct</code></dt><dd><p>Proportion of games won</p>
</dd>
<dt><code>BattingAverage</code></dt><dd><p>Team batting average</p>
</dd>
<dt><code>Runs</code></dt><dd><p>Number of runs scored</p>
</dd>
<dt><code>Hits</code></dt><dd><p>Number of hits</p>
</dd>
<dt><code>HR</code></dt><dd><p>Number of home runs hit</p>
</dd>
<dt><code>Doubles</code></dt><dd><p>Number of doubles hit</p>
</dd>
<dt><code>Triples</code></dt><dd><p>Number of triples hit</p>
</dd>
<dt><code>RBI</code></dt><dd><p>Number of runs batted in</p>
</dd>
<dt><code>SB</code></dt><dd><p>Number of stolen bases</p>
</dd>
<dt><code>OBP</code></dt><dd><p>On base percentage</p>
</dd>
<dt><code>SLG</code></dt><dd><p>Slugging percentage</p>
</dd>
<dt><code>ERA</code></dt><dd><p>Earned run average (earned runs allowed per 9 innings)</p>
</dd>
<dt><code>HitsAllowed</code></dt><dd><p>Number of hits against the team</p>
</dd>
<dt><code>Walks</code></dt><dd><p>Number of walks allowed</p>
</dd>
<dt><code>StrikeOuts</code></dt><dd><p>Number of strikeouts (by the team's pitchers)</p>
</dd>
<dt><code>Saves</code></dt><dd><p>Number of games saved (by the team's pitchers)</p>
</dd>
<dt><code>WHIP</code></dt><dd><p>Number of walks and hits per inning pitched</p>
</dd>
</dl>



<h3>Details</h3>

<p>Data for all 30 Major League Baseball (MLB) teams for the 2016 regular season. This includes team batting statistics (BattingAvg through SLG) and team pitching statistics (ERA through WHIP)
</p>


<h3>Source</h3>

<p>Data downloaded from baseball-reference.com: <br />
http://www.baseball-reference.com/leagues/MLB/2016-standings.shtml <br />
http://www.baseball-reference.com/leagues/MLB/2016.shtml
</p>


</body></html>
